const Base = require('./base.js');
module.exports = class extends Base {
	get relation() {
		return {
			express: {
				type: think.Model.BELONG_TO,
				model: 'sto_express',
				key: 'express_id'

			},
			country: {
				type: think.Model.BELONG_TO,
				model: 'sto_region',
				key: 'country_id'

			},
			province: {
				type: think.Model.BELONG_TO,
				model: 'sto_region',
				key: 'province_id'

			},
			city: {
				type: think.Model.BELONG_TO,
				model: 'sto_region',
				key: 'city_id'

			},
			district: {
				type: think.Model.BELONG_TO,
				model: 'sto_region',
				key: 'district_id'

			}
		}
	}
};